<template>
    <section style="height: 85%">
        <div class="nav_options">
            <div class="nav_option" :class="{ nav_option_active: isActive == 1 }" @click="isActive = 1">
                <span>基础配置</span>
            </div>
            <div class="nav_option" :class="{ nav_option_active: isActive == 2 }" @click="isActive = 2">
                <span>费项配置</span>
            </div>
            <div class="nav_option" :class="{ nav_option_active: isActive == 3 }" @click="isActive = 3">
                <span>收费标准配置</span>
            </div>
            
        </div>
        <!-- 费项配置 -->
        <keep-alive>
        <nhyc-config  v-if="isActive == 1"></nhyc-config>
          <cost-item-config-list v-if="isActive == 2" class="h"></cost-item-config-list>
          <fees v-if="isActive == 3"></fees>
          
        </keep-alive>
    </section>
</template>

<script>
import nhycConfig from './nhyc_config.vue'; //能耗基础配置
import costItemConfigList from './cost_item_config_list.vue'; //费项配置
import fees from './fees.vue'; //收费标准配置
export default {
    data() {
        return {
            isActive: 1,
        };
    },
    methods: {},
    mounted() {},
    components: {
        nhycConfig,
        costItemConfigList,
        fees
    },
};
</script>

<style scoped>
.pay_contant {
    padding: 0 40px;
}
.h {
    height: 100%;
}
</style>